package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Dictionaries;
import cn.wolfcode.crm.domain.DictionariesItem;
import cn.wolfcode.crm.query.DictionariesQuery;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface DictionariesItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DictionariesItem record);

    DictionariesItem selectByPrimaryKey(Long id);

    List<DictionariesItem> selectAll();

    int updateByPrimaryKey(DictionariesItem record);

    // 高级 查询
    int queryCount(DictionariesQuery qo);
    List<DictionariesItem> queryList(DictionariesQuery qo);

    void deleteByDictionariesId(Long id);
}